package wechat

import (
	"crmeb-common/global"
	"time"
)

// WechatCallback 微信回调表
type WechatCallback struct {
	global.BaseModel
	ToUserName string `json:"toUserName" gorm:"column=to_user_name;comment:商家小程序名称"`

	FromUserName string `json:"fromUserName" gorm:"column=from_user_name;comment:微信团队的 OpenID(固定值)"`

	MsgType string `json:"msgType" gorm:"column=msg_type;comment:消息类型"`

	Event string `json:"event" gorm:"column=event;comment:事件类型"`

	Content string `json:"content" gorm:"column=content;comment:内容"`

	AddTime time.Time `json:"addTime" gorm:"column=add_time;comment:创建时间"`
}
